package com.woniuxy.food.service;

import com.woniuxy.food.infra.model.FoodPic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.food.service.servicedto.FoodPicServiceDto;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 菜品图片地址表 服务类
 * </p>
 *
 * @author 刘德华
 * @since 2023-07-28
 */
public interface FoodPicService extends IService<FoodPic> {

    void insertFoodPic(Integer storeId, String file);

    void deleteFoodPic(Integer storeId, Integer foodPicId);

    List<FoodPicServiceDto> searchFoodPic(Integer storeId);

    FoodPicServiceDto searchFoodPicById(Integer storeId, Integer foodPicId);
}
